<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="./form.css">
  <title>Document</title>
</head>
<body>
  <form action="/login" method="get">
    <h1>欢迎登录</h1>
    <input type="text" name="username" placeholder="请输入用户名"><br>
    <input type="password" name="pwd" placeholder="请输入密码"><br>
    <input type="submit" value="登录">
  </form>
  <hr>
  <hr>
  <form action="/login2" method="post">
    <h1>欢迎登录~</h1>
    <input type="text" name="username" placeholder="请输入用户名"><br>
    <input type="password" name="pwd" placeholder="请输入密码"><br>
    <input type="submit" value="登录">
  </form>
</body>
</html>